<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
		<link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
		<link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
		<link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
		<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
		<script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
		<link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet">
		<script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
		<script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>

		<title>后台管理</title>
	</head>
	<body class="body_ifm">
		<div class="infoboxp">
			<div class="admin_new_tip">
				<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
				<div class="admin_new_tip_list_cont">
					<div class="admin_new_tip_list">该页面展示了添加个人会员信息，可添加个人会员操作。</div>
				</div>
			</div>
			<div class="clear"></div>

			<div class="admin_add_box">
				<div class="admin_add_box_c" style="padding:0px 0 20px 0;">
					<iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
					<form class="layui-form" action="index.php?m=user_member&c=save" method="post" target="supportiframe" onsubmit="return checkForm()" autocomplete="off">
						<div class="admin_add_box_tit">会员信息</div>
						<div class="admin_add_list">
							<div class="admin_add_list_name"><span class="admin_required_icon">*</span> 用&nbsp;户&nbsp; 名</div>

							<div class="admin_add_list_right">
								<input type="text" value="" id="username" name="username" class="input-text"></div>
						</div>
						<div class="admin_add_list">
							<div class="admin_add_list_name"><span class="admin_required_icon">*</span> 设置密码</div>

							<div class="admin_add_list_right">
								<input type="password" value="" id="password" name="password" class="input-text">
								<font color="gray"></font>
							</div>
						</div>
						<div class="admin_add_list">
							<div class="admin_add_list_name">联系邮箱</div>

							<div class="admin_add_list_right">
								<input type="text" value="" name="email" class="input-text">
								<font color="gray"></font>
							</div>
						</div>
						<div class="admin_add_list">
							<div class="admin_add_list_name"><span class="admin_required_icon">*</span> 联系手机</div>

							<div class="admin_add_list_right">
								<input type="text" value="" id="moblie" name="moblie" class="input-text">
								<font color="gray"></font>
							</div>
						</div>
						<div class="admin_add_list">
							<input class="layui-btn layui-btn-normal" type="submit" name="submit" value="&nbsp;添 加&nbsp;" />
							<input class="admin_save_sub_qx" type="reset" name="reset" value="&nbsp;重 置 &nbsp;" /></td>

						</div>
						<input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
					</form>
				</div>
			</div>
		</div>
		<script type="text/javascript">
			layui.use(['layer', 'form'], function() {
				var layer = layui.layer,
					form = layui.form,
					$ = layui.$;

			});
			
			function checkForm(){
				if($.trim($("#username").val()) == ''){
					parent.layer.msg("用户名不能为空！", 2, 8);
					return false;
				}else if($.trim($("#password").val()) == ''){
					parent.layer.msg("密码不能为空！", 2, 8);
					return false;
				}else if($.trim($("#moblie").val()) == ''){
					parent.layer.msg("手机号不能为空！", 2, 8);
					return false;
				}
			}
		</script>
	</body>
</html>
